package com.qczl.vehicle.domain;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonIgnore;
import com.qczl.common.core.annotation.Excel;
import com.qczl.common.core.web.domain.BaseEntity;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

/**
 * @author: 钟城明
 * @CreateTime: 2025-09-12
 * @Description: 品牌管理实体类 brand
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
@TableName("brand")
public class Brand extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 品牌id
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * 品牌名称
     */
    @Excel(name = "品牌名称")
    private String name;

    /**
     * 品牌Logo
     */
    @Excel(name = "品牌Logo")
    private String logo;

    /**
     * 删除标志（0代表存在 2代表删除）
     */
    @TableLogic
    @JsonIgnore
    private String delFlag;

}